package com.example.stroebackstage.entity;

public class Order {
    private int orderId;
    private String customerEmail;
    private int commodityId;
    private int commodityNumber;
    private String consigneeName;
    private String consigneeAddress;
    private String consigneePAC;
    private String consigneePhone;
    private String consigneeFax;
    private String cardType;
    private String carName;
    private String cardNumber;
    private String billAddress;
    private String closingDate;
    private double taxRate;
    private double freight;
    private double price;

    public Order(){

    }
    public Order(String customerEmail, int commodityId, int commodityNumber, String consigneeName, String consigneeAddress, String consigneePAC, String consigneePhone, String consigneeFax, String cardType, String carName, String cardNumber, String billAddress, String closingDate, double taxRate, double freight) {
        this.customerEmail = customerEmail;
        this.commodityId = commodityId;
        this.commodityNumber = commodityNumber;
        this.consigneeName = consigneeName;
        this.consigneeAddress = consigneeAddress;
        this.consigneePAC = consigneePAC;
        this.consigneePhone = consigneePhone;
        this.consigneeFax = consigneeFax;
        this.cardType = cardType;
        this.carName = carName;
        this.cardNumber = cardNumber;
        this.billAddress = billAddress;
        this.closingDate = closingDate;
        this.taxRate = taxRate;
        this.freight = freight;
    }
    public Order(int orderId,String consigneeName,String consigneePAC,String consigneeAddress,String consigneePhone){
        this.orderId = orderId;
        this.consigneeName = consigneeName;
        this.consigneeAddress = consigneeAddress;
        this.consigneePAC = consigneePAC;
        this.consigneePhone = consigneePhone;
    }
    public Order(int orderId, String customerEmail, int commodityId, int commodityNumber, String consigneeName, String consigneeAddress, String consigneePAC, String consigneePhone, String consigneeFax, String cardType, String carName, String cardNumber, String billAddress, String closingDate, double taxRate, double freight, double price) {
        this.orderId = orderId;
        this.customerEmail = customerEmail;
        this.commodityId = commodityId;
        this.commodityNumber = commodityNumber;
        this.consigneeName = consigneeName;
        this.consigneeAddress = consigneeAddress;
        this.consigneePAC = consigneePAC;
        this.consigneePhone = consigneePhone;
        this.consigneeFax = consigneeFax;
        this.cardType = cardType;
        this.carName = carName;
        this.cardNumber = cardNumber;
        this.billAddress = billAddress;
        this.closingDate = closingDate;
        this.taxRate = taxRate;
        this.freight = freight;
        this.price = price;
    }

    public int getOrderId() {return orderId;}

    public String getCustomerEmail() {
        return customerEmail;
    }

    public int getCommodityId() {
        return commodityId;
    }

    public int getCommodityNumber() {
        return commodityNumber;
    }

    public String getConsigneeName() {
        return consigneeName;
    }

    public String getConsigneeAddress() {
        return consigneeAddress;
    }

    public String getConsigneePAC() {
        return consigneePAC;
    }

    public String getConsigneePhone() {
        return consigneePhone;
    }

    public String getConsigneeFax() {
        return consigneeFax;
    }

    public String getCardType() {
        return cardType;
    }

    public String getCarName() {
        return carName;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public String getBillAddress() {
        return billAddress;
    }

    public String getClosingDate() {
        return closingDate;
    }

    public double getTaxRate() {
        return taxRate;
    }

    public double getFreight() {
        return freight;
    }

    public double getPrice() {
        return price;
    }
}